package com.morehair.service.admin;

import com.morehair.bean.bo.admin.CategoryBo;
import com.morehair.bean.bo.admin.RefundBo;
import com.morehair.bean.bo.admin.ShipBo;
import com.morehair.bean.pojo.Brand;
import com.morehair.bean.pojo.Category;
import com.morehair.bean.pojo.Issue;
import com.morehair.bean.pojo.KeyWord;
import com.morehair.bean.vo.admin.*;

import java.util.List;

/**
 * @Description:
 * @Author raohui
 * @Date 2021/6/5 7:54
 */
public interface ShopManageService {

    List<RegionDataVo> selectRegion();

    BrandDataVo selectBrandList(Integer page, Integer limit, Integer id, String name, String sort, String order);

    List<CategoryDataVo> selectCategoryList();

    OrderDataVo selectOrderList(Integer page, Integer limit, Integer orderStatusArray, String sort, String order, String orderSn, Integer userId);

    IssueDataVo selectIssueList(Integer page, Integer limit, String question, String sort, String order);

    KeyWordDataVo selectKeywordList(Integer page, Integer limit, String url, String keyword, String sort, String order);


    List<CategoryDataVo2> selectCategoryL1();


    int deleteBrand(Brand brand);

    void deleteLevelLCategory(CategoryBo categoryBo);

    void updateBrand(Brand brand);

    void createBrand(Brand brand);

    void updateCategory(Category category);

    void createCategory(Category category);

    OrderDetailDataVo selectOrderDetail(Integer id);

    void refundOrder(RefundBo refundBo);

    void shipOrder(ShipBo shipBo);

    void deleteIssue(Issue issue);

    Issue updateIssue(Issue issue);

    Issue createIssue(Issue issue);

    void deleteKeyWord(KeyWord keyWord);

    KeyWord updateKeyWord(KeyWord keyWord);

    KeyWord createKeyWord(KeyWord keyWord);
}
